/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.squela


package object sql {

    type QueryResult = QueryEngine.QueryResult
    type CodeBlock[T, R] = QueryEngine.CodeBlock[T, R]
    type ResultTuple = QueryEngine.ResultTuple

    implicit def field2Operation[T](field: SqlField[T]) = new SqlFieldOperation(field)
    implicit def fun2CodeBlock[T, R](func: Function1[T, R]) = new QueryEngine.CodeBlock(func)
}
